package com.jiazhong.mingxing.boot.boot02;

import com.jiazhong.mingxing.boot.boot02.service.StudentService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class Boot02Application {
    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(Boot02Application.class, args);
        StudentService service = context.getBean(StudentService.class);
        service.find2();
    }
}